package com.ct.ah.lab.service;

import com.ct.ah.lab.entity.Cash;
import com.ct.ah.lab.entity.User;
import com.ct.ah.lab.entity.vo.CashItemVo;

import java.util.List;

public interface ICashService {
    Cash getCashByUid(Integer uid);

    List<CashItemVo> listCashItem(User user);

    void chargeCash(User user, Double cashMoney, Integer chargeStyle);

    void cashTransfer(User user, String inUsername, Double outMoney);

    //使用钱包金额进行支付
    public void payByCash(Integer oid,User user);

    //用户退货
    public void returnByCash(Integer oid, User user);
}
